<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/taglib.jsp" %>
<div class="hs-layout-pager">
	<table class="hs-table">
		<tbody>
			<tr>
				<th>序号</th>
				<th>类别名称</th>
				<th>该类别下图书数量</th>
				<th>操作</th>
			</tr>
			<c:forEach var="bookPart" items="${bookParts}">
				<tr>
					<td>
						<input type="checkbox" />
					<c:out value="${bookPart.id}" /></td>
					<td><c:out value="${bookPart.part_name}" /></td>
					<td><c:out value="${bookPart.typeCount}" /></td>
					<td>
						<a href="${admin}/book/bookpart/edit/${bookPart.id}">修改</a>
						<a href="${admin}/book/bookpart/delete/${bookPart.id}" class="delete">删除</a>
					</td>
				</tr>	
			</c:forEach>
		</tbody>
	</table>
	<div class="offajax">
		<a href="${admin}/11111">不使用ajax跳转(class="offajax")</a>
		<div class="onajax">
			<a href="${admin}/22222">使用ajax跳转(class="onajax")</a>
		</div>
	</div>
	<div class="hs-toolbar-buttons">
		<a class="hs-toolbar-button hs-icon-download" href="${admin}/book/bookpart/create">添加</a>
	</div>
</div>
<%-- <a class="hs-toolbar-button hs-toolbar-icon-create" href="${admin}/book/bookpart/create">添加</a> --%>
<%-- <a class="hs-toolbar-button " href="${admin}/book/bookpart/create">添加</a> --%>
